package com.kxmall.vehicle.domain.bo;

import com.kxmall.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 餐车出柜商品信息对象
 */

@Data
@ApiModel("餐车出柜商品信息对象")
public class KxVehicleBoxOutGoodsBo {

    @ApiModelProperty(value = "餐车出柜商品信息表ID")
    @NotNull(message = "餐车出柜商品信息表ID不能为空", groups = { EditGroup.class })
    private Long id;

    @ApiModelProperty(value = "餐车表ID")
    private Long vehicleId;

    @ApiModelProperty(value = "餐车动力单元编号")
    private String vehicleNo;

    @ApiModelProperty(value = "餐车号/名称")
    private String vehicleName;

    @ApiModelProperty(value = "餐车柜格索引 1~24")
    private Integer boxIndex;

    @ApiModelProperty(value = "餐车调入商品表ID")
    private Long inGoodsId;

    @ApiModelProperty(value = "数量")
    private Integer count;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "总价")
    private BigDecimal amount;

    @ApiModelProperty(value = "餐车商品入柜单号")
    private String goodsNumbers;

    @ApiModelProperty(value = "餐车柜子内商品销售状态 0:下架或已售; 1:上架且未售")
    private Integer salesStatus;

    @ApiModelProperty(value = "出柜人")
    private String outPerson;

    @ApiModelProperty(value = "出柜时间")
    private Date outTime;

    @ApiModelProperty(value = "出柜日期")
    private Date outDay;

    @ApiModelProperty(value = "备注")
    private String remarks;
}
